package com.dabaozhan.modules.wx_app.entity;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

public class HistogramRequestEntity {
	
	@NotEmpty(message="userId不能为空")
	private String userId;
	private String beginTime;
	private String endTime;
	//时间区间 1:全部 2:近7天 3:近1个月 4:近3个月 5:3个月前
	@NotNull(message="timeSection不能为空")
	private Integer timeSection;
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public Integer getTimeSection() {
		return timeSection;
	}
	public void setTimeSection(Integer timeSection) {
		this.timeSection = timeSection;
	}
}
